-- card: 38130 from stack: in.0 -- bmap block id: 0 -- flags: 0000 -- background id: 3797 -- name: -- part contents for background part 1 ----- text ----- From: jgreely@tut.cis.ohio-state.edu (Daemon Fortune (or vice versa)) Date: 11 Mar 88 08:09:29 GMT Followup-To: comp.sys.mac.hypercard This is cross-posted to comp.sys.mac.hypercard, with followups redirected there. In article <1096@PT.CS.CMU.EDU> nivek@ROVER.RI.CMU.EDU (Kevin Dowling) writes: >Does someone have a script or simple method for printing cards that have >changed in a stack since the stack was last printed? I have a growing stack >and once in a while would like to just print the cards that changed >since I last printed. Is there a Hypercard feature I don't know about or a >simple solution? Thanks. I'm not at a Mac right now, so I can't give you a tested solution, but here's a general idea: Put an (in)visible field in the background, called "date". Put a few lines in your background script that are activated whenever you get a closeField, like this: on closeField put the date into field "date" end closeField Theoretically, this will set the contents of the date field to the current date whenever the card has been changed (I seem to recall a problem if you go to another card without formally "closing" the field (pressing tab). I *could* be wrong). You'll also need a field somewhere that holds the date you last ran your print script. I'm going to wave my hands on the structure of the print script (I haven't done much printing), and just say that you search the stack for cards containing a date higher than the "last printed" date, and print them. When you're done, reset the "last printed" date to the current date. If you make changes frequently, you may want time, too. Also, the default date format probably won't work (unless HC can recognize it as a date), since 12/11/66 is greater than 11/10/88. If you need any further help, send e-mail and I'll send you a stack that does this (which means I'll write one, just to prove I'm right :-)) -- part contents for background part 45 ----- text ----- Re: Printing changed cards in a stack